var mongoose = require('mongoose')
var Schema = mongoose.Schema

var pstodSchema = new Schema({
    username: String,
    game: String,
    area: String,
    title: String,
    price: String,
    time: String,
    number: String,
    gamepsd: String,
    gamename: String,
    phone: String,
    QQ: String
})
var postodModel = mongoose.model('postodModel', pstodSchema)

var takeOrderSchema = new Schema({
    playerAccount: Number,
    username: String,
    ordername: String,
    takeOrderTitle: String,
    time: String,
    price: Number,
})
var takeOrderModel = mongoose.model('takeOrderModel', takeOrderSchema)


module.exports = {
    takeOrderModel,
    postodModel,
}
